tools/libxl: fix setting altp2m param broken by 1e9bc407cf0
authorTamas K Lengyel <tamas@tklengyel.com>
Fri, 29 May 2020 16:22:34 +0000 (17:22 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 29 May 2020 16:31:12 +0000 (17:31 +0100)
commit7582bbc14cbae56a732d83b916b60bf7c4d6d690
tree90f7450262376b676d3881ae63ef12f4a4066d5f
parent51f9df5c19f2b8a780aa2547cdf3d20736bfddcc
tools/libxl: fix setting altp2m param broken by 1e9bc407cf0

The patch 1e9bc407cf0 mistakenly converted the altp2m config option to a
boolean. This is incorrect and breaks external-only usecases of altp2m that
is set with a value of 2.

Signed-off-by: Tamas K Lengyel <tamas@tklengyel.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_x86.c